<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0,
		minimum-scale=1.0, maximum-scale=1.0"/>
    <meta charset="UTF-8">
    <title>对账单</title>
    <link href="../public/css/style.css" rel="stylesheet">
    <link href="../public/css/common.css" rel="stylesheet">
</head>
<body class="layout_body">
<div class="layout_content graybg">
    <header class="demo-header" style="padding-top: 10px;">
        <div class="titleLeft flt">
            <a href="/ucenter/welcome/">
                <img src="../public/img/back.png" width="35px" height="33px">
            </a>
        </div>
        <div class="titleRight flt text-center">对账单</div>
    </header>
    <div class="whitebg">
        <div class="text-center">
            <div class="cuxiao-font" style="padding-top: 15px;"><?php if ($billDate['BillStatistics']['bill_start_time'])echo $billDate['BillStatistics']['bill_start_time'] ?>至<?php if ($billDate['BillStatistics']['bill_end_time']) echo $billDate['BillStatistics']['bill_end_time'] ?></div>
            <div class="checklist">
                <p class="fontsize"><strong>订单总额</strong></p>
                <p class="select-font"><?php if ($billDate['BillStatistics']['order_total_price'])echo $billDate['BillStatistics']['order_total_price'] ?></p>
                <p class="product">(<?php if ($billDate['BillStatistics']['order_count'])echo $billDate['BillStatistics']['order_count'] ?>笔)</p>
            </div>
            <div class="checklist" style="border-left: 1px solid #E9E9E9;">
                <p class="fontsize"><strong>退单总额</strong></p>
                <p class="select-font"><?php if ($billDate['BillStatistics']['chargeback_total_price'])echo $billDate['BillStatistics']['chargeback_total_price'] ?></p>
                <p class="product">(<?php if ($billDate['BillStatistics']['chargeback_count'])echo $billDate['BillStatistics']['chargeback_count'] ?>笔)</p>
            </div>
        </div>
        <div class="clear_both"></div>
        <div class="sizecolor border1">账单明细</div>
        <?php if ($billDate['BillItems']){ ?>
            <?php foreach ($billDate['BillItems'] as $key => $bill){ ?>
                <div class="message-detail">
                    <div class="flt"><span class="check-font blackC">订单付款</span><?php echo $bill['ordercode']?></div><div class="frt"><?php echo $bill['amount']?></div>
                    <div class="clear_both"></div>
                    <div class="flt"><?php echo $bill['order_time']?></div><div class="frt"><?php echo $bill['platform']?></div>
                </div>
                <div class="clear_both"></div>
            <?php } ?>
        <?php } ?>
    </div>
<!--    <div class="whitebg" style="margin-top: 30px;">-->
<!--        <div class="padding-adjust4"><div class="button-two Cgray">导出</div>-->
<!--        </div>-->
<!--    </div>-->
</body>
</html>
